<?php// +----------------------------------------------------------------------// | 本插件基于GPL-3.0开源协议// +----------------------------------------------------------------------// | Copyright (c) 2020~2021 https://www.lianshoulab.com/ All rights reserved.// +----------------------------------------------------------------------// | Licensed ( https://www.gnu.org/licenses/gpl-3.0.html )// +----------------------------------------------------------------------// | Author: liutu <17053613@qq.com>// +----------------------------------------------------------------------namespace app\api\controller\timetable;use app\common\controller\Api;class Index extends Base{    protected $noNeedLogin = ['index','v'];    protected $noNeedRight = ['*'];    /**     * 检测是否安装成功     */    public function v()    {        $addonInstance = get_addon_info('timetable');        $this->success('',$addonInstance);    }}